﻿namespace YAPACS.RisServer.Interface.Plugin.DataGrid
{
    /// <summary>
    /// 文件类
    /// </summary>
    public class FileDto
    {
        public FileDto(string fileName, Stream stream)
        { 
            FileName = fileName.Trim();
            Stream = stream;
        }


        /// <summary>
        /// 文件名
        /// </summary>
        public string FileName { get;private set; }


        /// <summary>
        /// 文件流
        /// </summary>
        public Stream Stream { get; private set; }
    }
}
